package priv.utrix.micro.converter;

import org.springframework.security.oauth2.provider.token.DefaultAccessTokenConverter;

/**
 * 编写自定义token转换器，注入自定义解压器
 *
 * @author utrix
 * @date 2020/11/23
 */
public class CustomAccessTokenConverter extends DefaultAccessTokenConverter {

    public CustomAccessTokenConverter(){
        super.setUserTokenConverter(new CustomUserAuthenticationConverter());
    }
}
